package com.itqf.ipmsys.dto;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * projectName: ipmsys
 *
 * @author dongshihao
 * Date:2021/9/25   22:42
 * description:警情表
 */


public class PoliceSituationDto extends BasePageDto{

    private int id;

    /**
     * 用户名
     */
    private String  account;

    /**
     * 标题
     */
    private String title;

    /**
     * 报警类型id
     */
    private int pstid;

    /**
     * 报警人名称
     */
    private String name;

    /**
     * 报警时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date time;

    @Override
    public String toString() {
        return "PoliceSituationDto{" +
                "account='" + account + '\'' +
                ", title='" + title + '\'' +
                ", pstid=" + pstid +
                ", name='" + name + '\'' +
                ", time=" + time +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getPstid() {
        return pstid;
    }

    public void setPstid(int pstid) {
        this.pstid = pstid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
